<%--
  Created by IntelliJ IDEA.
  User: 栋
  Date: 2022/11/15
  Time: 16:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <%@include file="/pages/base/base.jsp"%>
</head>
<body>
    <div class="container">
        <div class="registerContent">
            <div class="errorMsg">
                ${empty requestScope.msg?"请注册":requestScope.msg}
            </div>
            <form action="userServlet">
                <input type="hidden" name="action" value="register">
                <div class="row">
                    <div class="col-25">
                        <label for="phoneNumber">手机号</label>
                    </div>
                    <div class="col-75">
                        <input type="text" required id="phoneNumber" name="phoneNumber" placeholder="请输入手机号" value=${requestScope.phoneNumber}>
                    </div>
                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="userName">用户名</label>
                    </div>
                    <div class="col-75">
                        <input type="text" required id="userName" name="userName" placeholder="请输入用户名" value=${requestScope.userName}>
                    </div>
                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="pwd">密码</label>
                    </div>
                    <div class="col-75">
                        <input type="password" required id="pwd" name="pwd" placeholder="请输入密码">
                    </div>
                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="repwd">确认密码</label>
                    </div>
                    <div class="col-75">
                        <input type="password" required id="repwd" name="repwd" placeholder="请确认密码">
                    </div>
                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="sex">请选择性别</label>
                    </div>
                    <div class="col-75">
                        <select id="sex" name="sex">
                            <option value="男">男</option>
                            <option value="女">女</option>
                        </select>
                    </div>

                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="introduce">个人介绍</label>
                    </div>
                    <div class="col-75">
                        <textarea id="introduce" name="introduce" placeholder="个人介绍" style="height:200px"></textarea>
                    </div>
                </div>
                <div class="row">
                    <div class="col-25">
                        <label for="address">默认地址</label>
                    </div>
                    <div class="col-75">
                        <input type="text" required id="address" name="address" placeholder="请输入地址">
                    </div>
                </div>
                <div class="row">
                    <input type="submit" value="注册">
                </div>
            </form>
        </div>

    </div>
</body>
</html>
